<template>
    <div>
        <md-button class="popup-ok-button" type="primary" @click="details('14')">抽奖主页</md-button>
        <md-button class="popup-ok-button" type="primary" @click="details('13')">我的</md-button>
        <md-button class="popup-ok-button" type="primary" @click="details('1')">首页</md-button>
        <md-button class="popup-ok-button" type="primary" @click="details('12')">e学堂</md-button>
        <md-button class="popup-ok-button" type="primary" @click="details('2')">支付宝小程序首页</md-button>
        <md-button class="popup-ok-button" type="primary" @click="details('5')">电子对账单</md-button>
        <md-button class="popup-ok-button" type="primary" @click="details('4')">产品分析</md-button>
        <md-button class="popup-ok-button" type="primary" @click="details('8')">荣誉榜单</md-button>
        <md-button class="popup-ok-button" type="primary" @click="details('11')">瑞享会员</md-button>
        <md-button class="popup-ok-button" type="primary" @click="details('7')">保费试算</md-button>
        <md-button class="popup-ok-button" type="primary" @click="details('6')">信息确认页</md-button>
        <md-button class="popup-ok-button" type="primary" @click="details('9')">信息已填写</md-button>
        <md-button class="popup-ok-button" type="primary" @click="details('10')">工单列表</md-button>
        <md-button class="popup-ok-button" type="primary" @click="details('3')">工单详情</md-button>
        <md-button class="popup-ok-button" type="primary" @click="details('15')">测试字体</md-button>
        <md-button class="popup-ok-button" type="primary" @click="details('16')">数字英文</md-button>
<div class="box6 flex-col">
          <div class="layer3 flex-col">
            <div class="bd3 flex-col">
              <span class="word13">今日新增瑞管家托管客户</span>
              <span class="word14">
                当日每新增1位瑞管家托管客户，获得1次抽奖机会
              </span>
              <div class="box7 flex-row">
                <div class="section4 flex-col">
                  <span class="word15">+2</span>
                  <span class="info6">新增托管客户</span>
                </div>
                <div class="section5 flex-col"></div>
                <div class="section6 flex-col">
                  <span class="word16">2</span>
                  <span class="word17">获得抽奖次数</span>
                </div>
              </div>
            </div>
          </div>
        </div>
    </div>
</template>

<script>
import { Button } from 'mand-mobile'
export default {
    data() {
        return {

        }
    },
    components: {
        [Button.name]: Button
    },
    methods: {
        details(key) {
            switch(key) {
                case '1':
                    this.$router.push({
                        path: '/ddsIndex3'
                    })
                break
                case '2':
                    this.$router.push({
                        path: '/ddsZfb3'
                    })
                break
                case '3':
                    this.$router.push({
                        path: '/ddsWork3'
                    })
                break
                case '4':
                    this.$router.push({
                        path: '/ddsProduct3'
                    })
                break
                case '5':
                    this.$router.push({
                        path: '/ddsAccount3'
                    })
                break
                case '6':
                    this.$router.push({
                        path: '/ddsConfirm3'
                    })
                break
                case '7':
                    this.$router.push({
                        path: '/ddsTrial3'
                    })
                break
                case '8':
                    this.$router.push({
                        path: '/ddsHonor3'
                    })
                break
                case '9':
                    this.$router.push({
                        path: '/ddsFill3'
                    })
                break
                case '10':
                    this.$router.push({
                        path: '/ddsList3'
                    })
                break
                case '11':
                    this.$router.push({
                        path: '/ddsVip3'
                    })
                break
                case '12':
                    this.$router.push({
                        path: '/ddsEschool3'
                    })
                break
                case '13':
                    this.$router.push({
                        path: '/ddsMy3'
                    })
                break
                case '14':
                    this.$router.push({
                        path: '/ddsDraw3'
                    })
                break
                case '15':
                    this.$router.push({
                        path: '/ddsTypeface'
                    })
                break
                case '16':
                    this.$router.push({
                        path: '/ddsNum'
                    })
                break
            }
        }
    }
}
</script>

<style lang="less" scoped>
    .popup-ok-button {
        box-sizing: border-box;
        width: 100%;
        margin: 20px 0;
    }

.box6 {
        z-index: 34;
        height: 276px;
        border-radius: 20px;
        background: url(https://lanhu.oss-cn-beijing.aliyuncs.com/SketchPngd89101fd6509e5bbb6d80da8e676d845d5d74637045e860fab247ddfdcfe63fc)
          100% no-repeat;
background-size: cover;
-webkit-background-size: cover;
-o-background-size: cover;
        align-self: center;
        margin-top: 20px;
        width: 670px;
        justify-content: center;
        align-items: center;
        .layer3 {
          z-index: 35;
          height: 256px;
          border-radius: 10px;
          background-color: rgba(255, 243, 221, 1);
          width: 650px;
          justify-content: center;
          align-items: center;
          .bd3 {
            z-index: auto;
            width: 590px;
            height: 205px;
            .word13 {
              z-index: 36;
              width: 590px;
              display: block;
              overflow-wrap: break-word;
              color: rgba(79, 30, 18, 1);
              font-size: 32px;
              font-family: PingFangSC-Medium;
              line-height: 45px;
              text-align: left;
            }
            .word14 {
              z-index: 37;
              width: 590px;
              display: block;
              overflow-wrap: break-word;
              color: rgba(152, 92, 78, 1);
              font-size: 26px;
              line-height: 34px;
              text-align: left;
              margin-top: 4px;
            }
            .box7 {
              z-index: auto;
              width: 590px;
              height: 98px;
              margin-top: 24px;
              justify-content: space-between;
              .section4 {
                z-index: auto;
                width: 265px;
                height: 98px;
                .word15 {
                  z-index: 41;
                  width: 49px;
                  display: block;
                  overflow-wrap: break-word;
                  color: rgba(169, 9, 25, 1);
                  font-size: 40px;
                  font-family: Helvetica;
                  line-height: 48px;
                  text-align: center;
                  align-self: flex-end;
                  margin-right: 105px;
                }
                .info6 {
                  z-index: 40;
                  width: 265px;
                  display: block;
                  overflow-wrap: break-word;
                  color: rgba(79, 3, 10, 1);
                  font-size: 26px;
                  line-height: 34px;
                  text-align: center;
                  margin-top: 8px;
                }
              }
              .section5 {
                z-index: 45;
                width: 1px;
                height: 60px;
                background-color: rgba(79, 30, 18, 1);
                margin-top: 19px;
              }
              .section6 {
                z-index: auto;
                width: 264px;
                height: 98px;
                .word16 {
                  z-index: 43;
                  width: 24px;
                  display: block;
                  overflow-wrap: break-word;
                  color: rgba(169, 9, 25, 1);
                  font-size: 40px;
                  font-family: Helvetica;
                  line-height: 48px;
                  text-align: center;
                  align-self: flex-start;
                  margin-left: 118px;
                }
                .word17 {
                  z-index: 44;
                  width: 264px;
                  display: block;
                  overflow-wrap: break-word;
                  color: rgba(79, 3, 10, 1);
                  font-size: 26px;
                  line-height: 34px;
                  text-align: center;
                  margin-top: 8px;
                }
              }
            }
          }
        }
      }
</style>